/* src/views/home/index.css */

/* 定义动画关键帧 */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 容器样式 */
.home-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-size: 300% 300%;
  animation: gradientAnimation 15s ease infinite;
}

/* 亮色主题背景 */
.home-container.light {
  background: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffecd2, #fcb69f, #ffecd2, #ffe9a8, #fec771);
}

/* 暗色主题背景 */
.home-container.dark {
  background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e, #16213e, #0f3460, #1a1a2e);
}

/* 标题样式 */
.home-title {
  text-align: center;
  font-weight: bold;
  font-size: 3rem;
}

/* 亮色主题标题 */
.home-title.light {
  color: #333333;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 暗色主题标题 */
.home-title.dark {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.1);
}